


import MyHead from '@/components/MyHead'
import PassInput from '@/components/PassInput'
import { reg } from '@/utils/validate'
import React from 'react'
import PhoneCom from './PhoneCom'



const FindPass = () => {
    const {pwd} = reg
    return (
        <div className='findpass'   >
            <MyHead title='找回密码'></MyHead>
            <div className="fbox" style={{padding:15}}>
                <PhoneCom
                    flag={true}
                >
                    <PassInput
                        name='password'
                        label='新密码'
                        help="6-16位的数字和字母组合"
                        placeholder='请输入'
                        rules={[
                            { required: true, message: '登录密码不能为空' },
                            { pattern: pwd, message: '请输入格式正确的密码' },
                        ]}
                    >
                    </PassInput>
                </PhoneCom>
            </div>
        </div>
    )
}

export default FindPass